package com.mypro._01base.entity;
/**
 * 03 多对多 多对一 一对一
 *
 *
 *
 *
 *
 */
public class Idcard {
	private Integer cid;
	private String cardNumber;
	private Integer pid;

	//一对一关联对象
	private Person person;

	public Integer getCid() {
		return cid;
	}
	public void setCid(Integer cid) {
		this.cid = cid;
	}
	public String getCardNumber() {
		return cardNumber;
	}
	public void setCardNumber(String cardNumber) {
		this.cardNumber = cardNumber;
	}
	public Integer getPid() {
		return pid;
	}
	public void setPid(Integer pid) {
		this.pid = pid;
	}
	public Person getPerson() {
		return person;
	}
	public void setPerson(Person person) {
		this.person = person;
	}
	@Override
	public String toString() {
		return "Idcard [cid=" + cid + ", cardNumber=" + cardNumber + ", pid=" + pid + "]";
	}
	
	
}
